package com.hna.eking.AirlineServer.Mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;


@Mapper
public interface AreaInfoMapper {
	@SelectProvider(type = SqlUtils.class, method = "selectAllByAreaCode")
	List<AreaInfo> selectAllByAreaCode(String parentCode);
	
	@Select("select * from t_area_code")
	List<AreaInfo> selectAll();
}
